package com.liy.framework.web.spring.service;

import com.liy.framework.common.vo.PageVO;
import java.io.Serializable;
import java.util.List;

public interface IBaseService<T, PK extends Serializable> {
    int add(T var1) throws Exception;

    int update(T var1) throws Exception;

    void delete(PK var1) throws Exception;

    T findById(PK var1) throws Exception;

    List<T> findList(T var1) throws Exception;

    List<T> findByPage(T var1, PageVO<T> var2) throws Exception;
}
